package com.itheima.Test;

//洗衣机类;
//洗衣机类继承电器类;
public class washer extends DianQiLei {
    //私有成员变量;
    private String DianJiLeiXing;
    private String XiDiRongLiang;

    public washer() {
    }

    //有参构造方法;
    public washer(String name, String xinghao, String color, double price,
                  String dianJiLeiXing, String xiDiRongLiang) {
        super(name, xinghao, color, price);
        DianJiLeiXing = dianJiLeiXing;
        XiDiRongLiang = xiDiRongLiang;
    }
    //set,get方法;

    public String getDianJiLeiXing() {
        return DianJiLeiXing;
    }

    public void setDianJiLeiXing(String dianJiLeiXing) {
        DianJiLeiXing = dianJiLeiXing;
    }

    public String getXiDiRongLiang() {
        return XiDiRongLiang;
    }

    public void setXiDiRongLiang(String xiDiRongLiang) {
        XiDiRongLiang = xiDiRongLiang;
    }
}
